/**
 * There are code generation
 */
package com.neusoft.lohas.modules.ivm.dao.merchant;

import org.springframework.stereotype.Repository;

import com.neusoft.lohas.common.persistence.BaseDao;
import com.neusoft.lohas.common.persistence.Parameter;
import com.neusoft.lohas.modules.ivm.entity.merchant.ReceiptTime;

/**
 * 收货时间DAO接口
 * @author Jackie.Liu
 * @version 2014-10-28
 */
@Repository
public class ReceiptTimeDao extends BaseDao<ReceiptTime> {
	
	public ReceiptTime findByMerchantId(String merchantId){
		return getByHql("from ReceiptTime where merchant.id = :p1 and delFlag = :p2", new Parameter(merchantId, ReceiptTime.DEL_FLAG_NORMAL));
	}
}
